package chain

const (
	nodeNormal   = iota //正常
	nodeAbnormal        //异常
)

var NodeStatus = map[int]string{
	nodeNormal:   "正常",
	nodeAbnormal: "异常",
}

const CreateContract = 0
const CallContract = 1
const NormalTransaction = 2

const AdminNodeRole = 2

const NormalNodeRole = 0

const NormalNode = "普通节点"
const AdminNode = "管理节点"
const LeaderNode = "管理节点"

const NotMiner = 0
const AlwaysMiner = 2
